<form action="<?php echo url_for('user/cariteman'); ?>" method="post">
<input type="text" name="search" size="50" />
<br />
<input type="submit" value="Cari" />
</form>

<div>
    <?php foreach($teman as $t) : ?>
        <?php echo($t->getNama()); ?>
    <?php endforeach; ?>
</div>